package com.galen.manual.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.galen.manual.dto.SettlementCreateDTO;
import com.galen.manual.dto.SettlementQueryDTO;
import com.galen.manual.service.SettlementService;
import com.galen.manual.vo.SettlementListVO;
import com.galen.manual.vo.SettlementVO;
import org.springframework.stereotype.Service;

import java.math.BigDecimal;

@Service
public class SettlementServiceImpl implements SettlementService {

    private static final org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(SettlementServiceImpl.class);

    @Override
    public Page<SettlementListVO> getSettlementPage(SettlementQueryDTO queryDTO) {
        log.info("获取结算单列表功能暂时禁用");
        return new Page<>();
    }

    @Override
    public Page<SettlementListVO> getUserSettlementPage(Long userId, SettlementQueryDTO queryDTO) {
        log.info("获取用户结算单列表功能暂时禁用");
        return new Page<>();
    }

    @Override
    public SettlementVO getSettlementDetail(Long id) {
        log.info("获取结算单详情功能暂时禁用");
        return null;
    }

    @Override
    public Long createSettlement(SettlementCreateDTO createDTO) {
        log.info("创建结算单功能暂时禁用");
        return null;
    }

    @Override
    public Long generateSettlement(Long userId, java.time.LocalDateTime startTime, java.time.LocalDateTime endTime) {
        log.info("自动生成结算单功能暂时禁用");
        return null;
    }

    @Override
    public void confirmSettlement(Long id) {
        log.info("确认结算单功能暂时禁用");
    }

    @Override
    public void paySettlement(Long id, String paymentMethod) {
        log.info("支付结算单功能暂时禁用");
    }

    @Override
    public void updateSettlementStatusBatch(java.util.List<Long> settlementIds, Integer status) {
        log.info("批量更新结算单状态功能暂时禁用");
    }

    @Override
    public BigDecimal getUserTotalSettlementAmount(Long userId) {
        log.info("获取用户总结算金额功能暂时禁用");
        return BigDecimal.ZERO;
    }

    @Override
    public String generateSettlementNumber() {
        log.info("生成结算单号功能暂时禁用");
        return "TEMP_SETTLEMENT_NUMBER";
    }
}